<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
class PHPExcel_Reader_Excel5_Color
{
    public static function map($color, $palette, $version)
    {
        if($color <= 7 || 64 <= $color) {
            return PHPExcel_Reader_Excel5_Color_BuiltIn::lookup($color);
        }
        if(isset($palette) && isset($palette[$color - 8])) {
            return $palette[$color - 8];
        }
        if($version == PHPExcel_Reader_Excel5::XLS_BIFF8) {
            return PHPExcel_Reader_Excel5_Color_BIFF8::lookup($color);
        }
        return PHPExcel_Reader_Excel5_Color_BIFF5::lookup($color);
    }
}

?>